/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author YixinGeng This GraphEdge is currently discarded in the project since
 * when we extract the tree from the XML, we include the edge information in the
 * GraphNode class by using the leftnodeid and rightnodeid. However, if later
 * need to manipulate the edge separately, this class can be invoked.
 */
public class GraphEdge {

    GraphNode pNode;
    GraphNode sNode;

    GraphEdge(GraphNode n1, GraphNode n2) {
        pNode = n1;
        sNode = n2;
    }
    int pNodeId;
    int sNodeId;

    GraphEdge(int n1, int n2) {
        pNodeId = n1;
        sNodeId = n2;
    }
}
